<style type="text/css">
.widthfull{ width:100%px}
</style>
<script src="template/scripts/func_mngstudent.js" type="text/javascript"></script>
<div id="addstudent" class="widthfull">
  <h2>管理所有用户（学生和家长）</h2>
  <div><a  id="viewstudentLink" style="color:#c99;cursor:pointer;" onclick="javascript:viewstudentLink_clicked()">查看学生</a> <a  id="hidestudentLink"  style="color:#c99;cursor:pointer;" onclick="javascript:hidestudentLink_clicked()" class="hideA">隐藏</a></div>
  <div id="viewstudentDiv" class="hideA">
    <select id="showStudentOption">
      <option value="current">当前班级</option>
      <option value="all">所有班级</option>
    </select>
    <input id="showStudent" type="button" value="查看学生" onclick="javascript:showStudent_clicked()"/>
    <div>
      <table id="table_student">
        <thead>
          <tr id="header">
            <th>学生学号</th>
            <th>学生姓名</th>
            <th>学生邮件</th>
            <th>性别</th>
            <th>所在班级</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <tr id="template" class="hiddenTd">
            <td id="studentNumber"><div style="width:60px; overflow:hidden"></div></td>
            <td id="studentName"><div style="width:60px; overflow:hidden"></div></td>
            <td id="studentMail"><div style="width:120px; overflow:hidden"></div></td>
            <td id="studentSex"></td>
            <td id="className"><div style="width:120px; overflow:hidden"></div></td>
            <td id="studentOperate"><a style="cursor:pointer; color:#CC9999" onclick="javascript:studentDelete_clicked(this)">删除</a></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
  
 <div><a  id="getPWDLink" style="color:#c99;cursor:pointer;" onclick="javascript:getPWDLink_clicked()">找回密码</a> <a  id="hidePWDLink"  style="color:#c99;cursor:pointer;" onclick="javascript:hidePWDLink_clicked()" class="hideA">隐藏</a></div> 
 <div id="viewPWDDiv" class="hideA">
 <table>
	<tr>
		<td><div style="width:70px; overflow:hidden">输入学号：</div><td>
		<td><input id="searchPwdStuNumber" type="text" style="width:60px;"/><td>
		<td><input type="button" style="width:60px;" value="查找" onclick="javascript:searchStuByNumber()"/><td>
		<td><input type="button" style="width:100px;" value="重置密码成学号" onclick="javascript:resetPassword()"/><td>
	</tr>
 </table>
 </div>
  
  
  
  
  <div style="display:none"><a href="#" id="viewparentLink" style="color:#c99" onclick="javascript:viewparentLink_clicked()">查看家长</a> <a href="#" id="hideviewparentLink"  style="color:#c99" onclick="javascript:hideviewparentLink_clicked()" class="hideA">隐藏</a></div>
  <div id="viewparentDiv" class="hideA">
    <select id="showParentOption">
      <option value="current">当前班级</option>
      <option value="all">所有班级</option>
    </select>
    <input id="showParent" type="button" value="查看家长" onclick="javascript:showParent_clicked()"/>
    <div>
      <table id="table_parent">
        <thead>
          <tr>
            <th>子女学号</th>
            <th>家长姓名</th>
            <th>家长邮件</th>
            <th>子女姓名</th>
            <th>操作记录</th>
          </tr>
        </thead>
        <tbody>
          <tr id="template" class="hideTd">
            <td id="parentStudentNumber"></td>
            <td id="parentName"></td>
            <td id="parentMail"></td>
            <td id="studentName"></td>
            <td id="parentOperate"></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</div>
